<div class="box-body">
    <form class="layui-form" action="{:url('fast_generate')}" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label xrequired">仓库</label>
            <div class="layui-input-block">
                <select name="warehouse_id" lay-verify="required">
                    <option value="">请选择</option>
                    {foreach $warehouse as $w}
                    <option value="{$w.warehouse_id}">{$w.name}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label xrequired">SKU</label>
            <div class="layui-input-block">
                <textarea name="sku" lay-verify="required" style="height: 350px;" class="layui-textarea" placeholder="请在表格输入再复制粘贴"></textarea>
            </div>
        </div>
    </form>
</div>